package com.atguigu.school.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @project: sms
 * @description: 学生信息
 */
@ApiModel(value = "学生信息")
@Data
public class Student {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "学号")
    private String sno;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "性别。默认为男。")
    private char gender = '男';

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String telephone;

    @ApiModelProperty(value = "住址")
    private String address;

    @ApiModelProperty(value = "介绍")
    private String introducation;

    @ApiModelProperty(value = "头像存储路径")
    private String portraitPath;

    @ApiModelProperty(value = "班级名称")
    private String clazzName;

}
